package io.github.talelin.latticy.dto.product;

import io.github.talelin.latticy.common.pojo.BasePage;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

/**
 * @ClassName：ProductPage
 * @Author: ljj
 * @Date: 2022/5/10 9:39
 */
@EqualsAndHashCode(callSuper = true)
@Data
public class ProductPage extends BasePage {

    private String sku;

    private String name;

    private String enName;

    private Integer status;

    private String creatorCode;

    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date beginTime;

    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date endTime;

    /**
     * 1为单独产品  2为组合产品
     */
    private String type;


    private Integer isApproval;

    private String tenant;

    private Date deleteTime;

    private Integer productType;
}
